package com.macken.zjh.network.req;

import com.game.BaseRequest;
import com.macken.zjh.constant.CMD;

public class DeskRequest extends BaseRequest {

	public int did;// 桌子id
	public int pid;// 玩家id
	public byte action;// 0为退出 1为进入 2为换桌

	@Override
	public short getCmd() {
		return CMD.REQ_DESK;
	}

	@Override
	public void sendServerData() {
		builder.setInt(did);
		builder.setInt(pid);
		builder.set(action);
	}

}
